<?php
/**
 * @deprecated - v2.3.10 以后改成自定义外链商品，不再抓取 tb 数据
 *
 * Taobao 商品爬虫请求
 *
 * @author Lyun
 * @date 2018/6/15
 * @copyright PanxSoft Inc.
 */
namespace App\Http\Requests;

/**
 * @property string url
 */
class TaoBaoCrawlerRequest extends ApiRequest
{
    /**
     * Determine if the user is authorized to make this request.
     *
     * @return bool
     */
    public function authorize()
    {
        return true;
    }

    /**
     * Get the validation rules that apply to the request.
     *
     * @return array
     */
    public function rules()
    {

        return [
            'url'        => ['required', 'url'],
        ];
    }

    /**
     * @return array
     */
//    public function messages()
//    {
//        return [];
//    }
}
